package com.wilmer.comonUser.service.impl;

import java.util.List;

import com.wilmer.common.annotation.DataScope;
import com.wilmer.comonUser.domain.DeptUserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.wilmer.comonUser.mapper.comonUserMapper;
import com.wilmer.comonUser.service.IcomonUserService;

/**
 * 用户信息Service业务层处理
 * 
 * @author hans
 * @date 2024-04-11
 */
@Service
public class comonUserServiceImpl implements IcomonUserService 
{
    @Autowired
    private comonUserMapper comonUserMapper;

    @DataScope(deptAlias = "d")
    @Override
    public List<DeptUserVo> getDeptUser(DeptUserVo userVo) {
        return comonUserMapper.getDeptUser(userVo);
    }
}
